#ifndef RESSOURCEMGR_H_INCLUDED
#define RESSOURCEMGR_H_INCLUDED
#include <iostream>
#include <typeindex>
#include "SFML\System.hpp"
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"

class Level;
class ForumStruct;
class Unit;
class Struct;

class RessourceMgr
{
public:
	RessourceMgr();
	void init();
	void maj(Level *level);
	void modifyWood(const int wood);
	void modifyRock(const int rock);
	void modifyFood(const int food);
	void modifyPop(const int pop);
	int getWood() const;
	int getRock() const;
	int getFood() const;
	int getPop() const;
	int getPopMax() const;
	bool popIsHigh() const;

private:
	int m_wood;
	int m_rock;
	int m_food;
	int m_pop;
	int m_popMax;

};


#endif